home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
010a
/
dkfil25s.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-16
|
4KB
|
169 lines
echo off
cls
scrn05
echo -
echo This program will install the Disk Filer program files to a Drive
echo of your choice (A, - E), and start Disk Filer for you. This
echo program will not modify your autoexec.bat or config.sys files.
echo .
echo If this installation is an upgrade from a previous version of Disk
echo Filer then you will need to: Press CTRL-C Now
echo Then answer "Y" to question "Terminate Batch Job?" Then copy all
echo your *.DTA files to a diskette. Then start this install program
echo again to install this New Version.
echo .
echo Thanks for selecting and trying the Disk Filer System.
echo -
pause
if %1 / == / goto drv
if %1 == a goto adrv
if %1 == b goto bdrv
if %1 == c goto cdrv
if %1 == d goto ddrv
if %1 == e goto edrv
:drv
cls
echo -
echo You need to specify a Drive in which to install Disk Filer TO,
echo and then second, FROM which diskette drive as well.
echo .
echo For Example:
echo install a b, install b a, install c a, install d a
echo .
echo The four (4) examples above are some ways this install will work,
echo BUT do NOT type the commas!
echo .
echo Install will install Disk Filer on Drives A thru E.
echo .
echo You will go to DOS from here, then restart by typing: "install x x"
echo ( x ='s a drive letter)
echo -
pause
goto done
:adrv
echo -
echo You have typed -install a- and therefore Disk Filer files will
echo be put on a blank formatted diskette. If you have not placed a
echo blank formatted diskette in drive A:, DO SO NOW! (Press CTRL-C
echo and type `Y' in response to -terminate batch job?- to return
echo to DOS).
echo -
pause
goto cpy
:cpy
copy df.* %1:
copy *.com %1:
copy readme??.1st %1:
copy *.bat %1:
copy *.doc %1:
copy *.20? %1:
copy *.txt %1:
copy *.exe %1:
goto end
:bdrv
echo -
echo You have typed -install b- and therefore Disk Filer files will
echo be put on a blank formatted diskette. If you have not placed a
echo blank formatted diskette in drive B:, DO SO NOW! (Press CTRL-C
echo and type `Y' in response to -terminate batch job?- to return
echo to DOS).
echo -
pause
goto cpy
:cdrv
echo -
echo You have typed "install c" and therefore a directory called
echo -Dskfiler- will be made on drive C:. All Disk Filer files will be
echo copied into that directory for you.
echo -
pause
c:
md dskfiler
%2:
copy df.* %1:\dskfiler
copy *.com %1:\dskfiler
copy readme??.1st %1:\dskfiler
copy *.doc %1:\dskfiler
copy *.bat %1:\dskfiler
copy *.20? %1:\dskfiler
copy *.txt %1:\dskfiler
copy *.exe %1:\dskfiler
goto end
:ddrv
echo -
echo You have typed "install d" and therefore a directory called
echo -Dskfiler- will be made on drive D:. All Disk Filer files will be
echo copied into that directory for you.
echo -
pause
d:
md dskfiler
%2:
copy df.* %1:\dskfiler
copy *.com %1:\dskfiler
copy *.1st %1:\dskfiler
copy *.doc %1:\dskfiler
copy *.bat %1:\dskfiler
copy *.20? %1:\dskfiler
copy *.txt %1:\dskfiler
copy *.exe %1:\dskfiler
goto end
:edrv
echo -
echo You have type "install e" and therefore a directory called
echo -Dskfiler- will be made on drive E:. All Disk Filer files will be
echo copied into that directory for you.
echo -
pause
e:
md dskfiler
%2:
copy df.* %1:\dskfiler
copy *.com %1:\dskfiler
copy *.1st %1:\dskfiler
copy *.doc %1:\dskfiler
copy *.bat %1:\dskfiler
copy *.20? %1:\dskfiler
copy *.txt %1:\dskfiler
copy *.exe %1:\dskfiler
goto end
:end
echo -
echo All files have been copied to designated drive.
echo NOTE: The capslock key and light will be turned on for this program
echo needs uppercase letters. It will be turned off when you exit
echo the program.
echo .
echo NOW: type; DF ,then press Enter to start Disk Filer!
echo .
echo -
pause
scrn09
goto slip
:slip
if %1 == a goto adsk
if %1 == b goto bdsk
if %1 == c goto end2
if %1 == d goto end3
if %1 == e goto end4
:end2
c:
cd\dskfiler
goto done
:end3
d:
cd\dskfiler
goto done
:end4
e:
cd\dskfiler
goto done
:adsk
a:
goto done
:bdsk
b:
goto done
:done
scrn09